Registry Guide for Windows Registry Guide for Windows
Part of the WinGuides Network
WinGuides Network and Software
Registry tweaks, tricks & hacks to optimize, enhance and secure Microsoft Windows.

Control Keep Alive Parameters (Windows 95/98/Me)
Category: Home > Network > Clients

Download this tweak with Tweak Manager!This tweak can be easily applied using WinGuides Tweak Manager.
Download a free trial now!

These settings control how Windows manages connection keep alive transmissions. Including the timeout before keepalives are sent, the interval between keepalive transmissions and how often to send session keepalive packets on active sessions.

Open your registry and find the key below.

Create new DWORD value named "KeepAliveTime" and set it to equal the number of milliseconds to wait before sending keep alive packets (the default is 2 hours - 7,200,000 milliseconds).

Also create a new DWORD value (or string value for Windows 98) called "KeepAliveInterval" and set it to equal the time in milliseconds between retransmissions of keepalives, once the KeepAliveTime has expired (the default is 1 second - 1000 milliseconds).

Also create a new string value (or DWORD value for Windows 95) called "SessionKeepAlive" and set it to equal the time in seconds between keepalive packets on active sessions (the default is 3600 second - 1 hour).

Restart Windows for the change to take effect.

Registry Editor Example
|NameTypeData|
|(Default)REG_SZ(value not set)|
|KeepAliveTimeREG_SZ7200000|
|KeepAliveIntervalREG_SZ1000|
|SessionKeepAliveREG_SZ3600|
-
|HKEY_LOCAL_MACHINE\System\CurrentControlSet\Services\VxD\MSTCP|
-

Settings:
System Key: [HKEY_LOCAL_MACHINE\System\CurrentControlSet\Services\VxD\MSTCP]
Name: KeepAliveTime, KeepAliveInterval, SessionKeepAlive
Type: REG_SZ (String Value)

Related Tweaks

Disclaimer: Modifying the registry can cause serious problems that may require you to reinstall your operating system. We cannot guarantee that problems resulting from modifications to the registry can be solved. Use the information provided at your own risk.

Last Modified: May 7, 2002

 Return to Index Copyright © 1998-2003. All Rights Reserved.  License